﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" Theme="Normal_User_Theme"
    AutoEventWireup="true" CodeBehind="ProductDetail.aspx.cs" Inherits="WDTAsg2.Member.ProductDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:FormView ID="fvProduct" runat="server">
        <EmptyDataTemplate>
            Product not found
        </EmptyDataTemplate>
        <ItemTemplate>
            <table runat="server" id="table1">
                <tr id="Tr1" runat="server">
                    <td id="Td1" runat="server">
                        <%-- Data-bound content. --%>
                        <h1>
                            <asp:Label ID="NameLabel" runat="server" Text='<%#Eval("Title") %>' />
                        </h1>
                    </td>
                </tr>
                <tr>
                    <td id="Td2" runat="server">
                        <p>
                            <%-- Data-bound content. --%>
                            <asp:Label ID="Label1" runat="server" Text='<%#Eval("Description") %>' />
                        </p>
                    </td>
                </tr>
                <tr>
                    <td id="Td3" align="center" runat="server">
                        <%-- Data-bound content. --%>
                        <asp:Image ID="image" CssClass="productDetailImage" runat="server" ImageUrl='<%#Eval("ImageUrl") %>' />
                    </td>
                </tr>
            </table>
            <br />
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
